package com.haina.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.haina.shop.domain.Area;
import com.haina.shop.service.AreaService;
import com.haina.shop.mapper.AreaMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 48077
* @description 针对表【tz_area】的数据库操作Service实现
* @createDate 2024-07-31 18:34:29
*/
@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area>
    implements AreaService{

    @Resource
    private AreaMapper areaMapper;

    @Override
    public List<Area> selByPid(long pid) {
        List<Area> areas = areaMapper.selByPid(pid);
        return areas;
    }
}




